package com.yz.newspaper.service;

import com.yz.newspaper.pojo.po.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yz.newspaper.pojo.unitPo.PageBean;

import java.util.List;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author author
 * @since 2024-04-21
 */
public interface IUserService extends IService<User> {
    User login(User user);

    PageBean<User> getUserAll(String username, Integer pageNum, Integer pageSize);
}
